﻿using System;
using System.ComponentModel.DataAnnotations;
using ProjectFootball.Foundation.Entities;

namespace ProjectFootball.Models.Entities.Main
{
    public class TeamV : BaseApprovableEntity
    {
        [Required]
        [StringLength(100)]
        public string TeamName { get; set; }

        public Guid? CountryGuid { get; set; }

        public Guid? ResourceGuid { get; set; }

        #region Navigation properties
        public virtual Team Team { get; set; }
        public virtual Country Country { get; set; }
        public virtual Resource Resource { get; set; }
        #endregion
    }
}
